#pragma once
#include<stdio.h>
#include<stdlib.h>
#include<assert.h>

typedef int StackType;
typedef struct QueueStack
{
	struct QueueStack* next;
	StackType data;
}SQ;

typedef struct Queue
{
	SQ* head;
	SQ* tail;
}Queue;

void QueueInit(Queue* pq);
void QueuePush(Queue* pq, StackType x);
void QueuePrint(Queue* pq);
void QueuePop(Queue* pq);